package com.changgou.goods.test;

import com.changgou.util.IdWorker;

/**
 * @description:
 * @author: 大佬味的小男孩
 * @date: 2020-07-19 14:56
 **/
public class Idtest {

    public static void main(String[] args) {
        IdWorker idWorker = new IdWorker(1, 1);
        for (int i = 0; i <1000 ; i++) {
            long id = idWorker.nextId();
            System.out.println(id);
        }
    }



}
